<template>
    <div id="header">
       <mt-header fixed :title="myCurMode"></mt-header>
       <p>{{myCurMode}}</p>
    </div>
</template>

<script>
import "./header.css";
import {mapMutations,mapGetters} from "vuex";
export default {
    data(){
        return{
            yy:"123"
        }
    },
    methods:{
        ...mapMutations(["changeCurMode"])
    },
    computed:{ 
      ...mapGetters(["myCurMode"])
    },
    created(){
        console.log("myCurMode")
    }
    
}
</script>